package com.wlzg.collectiontool.model.bean

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import androidx.room.TypeConverters
import com.google.gson.annotations.SerializedName
import com.wlzg.collectiontool.db.HunjieConvert
import com.wlzg.collectiontool.db.ImageConvert
import com.wlzg.collectiontool.util.DateUtil
import java.io.Serializable
@Entity(tableName = "PsYushuikou")
@TypeConverters(HunjieConvert::class,ImageConvert::class)
 class Psyushuikou : BaseGuandian() {
    @PrimaryKey(autoGenerate = true)
    var yskId :Long?=null
    @SerializedName("antiordor")
    @TypeConverters(HunjieConvert::class, ImageConvert::class)
    var antiordor = 0

    @SerializedName("antitrash")
    var antitrash = 0

    @SerializedName("combDimen1")
    var combDimen1:Double = 0.0

    @SerializedName("combDimen2")
    var combDimen2 = 0

    @SerializedName("combType")
    var combType = 0

    @SerializedName("combcode")
    var combcode: String? = null

    @SerializedName("combid")
    var combid: String? = null

    @SerializedName("combshape")
    var combshape = 0

    @SerializedName("connected")
    var connected = 0

    @SerializedName("construction")
    var construction: String? = null

    @SerializedName("createBy")
    var createBy: String? = null

    @SerializedName("createTime")
    var createTime: String? = null

    @SerializedName("datasource")
    var datasource = 0

    @SerializedName("delFlag")
    var delFlag = 0

    @SerializedName("designSlu")
    var designSlu = 0

    @SerializedName("districtId")
    var districtId: String? = null

    @SerializedName("districtName")
    var districtName: String? = null

    @SerializedName("fileRelation")
    var fileRelation: String? = null

    @SerializedName("graMateri")
    var graMateri: Int = 0

    @SerializedName("hybjunFlo")
    var hybjunFlo = 0

    @SerializedName("hybjunQua")
    var hybjunQua = 0

    @SerializedName("hybjunctio")
    var hybjunctio = 0

    @SerializedName("inirainint")
    var inirainint = 0

    @SerializedName("locationcode")
    var locationcode: String? = null

    @SerializedName("mapcode")
    var mapcode: String? = null

    @SerializedName("maxdepth")
    var maxdepth :Double= 0.0

    @SerializedName("objectid")
    var objectid = 0

    @SerializedName("ownership")
    var ownership: String? = null

    @SerializedName("pipenum")
    var pipenum = 0

    @SerializedName("recordDate")
    var recordDate: String? = null

    @SerializedName("relatedd")
    var relatedd: String? = null

    @SerializedName("remark")
    var remark: String? = null
   @SerializedName("remark2")
   var remark2: String? = null

    @SerializedName("reportDate")
    var reportDate: String? = null

    @SerializedName("reportUnit")
    var reportUnit: String? = null

    @SerializedName("roadName")
    var roadName: String? = null

    @SerializedName("shape")
    var shape: String? = null

    @SerializedName("status")
    var status = 0

    @SerializedName("surfaceEl")
    var surfaceEl = 0

    @SerializedName("systemCode")
    var systemCode: String? = null

    @SerializedName("updateBy")
    var updateBy: String? = null

    @SerializedName("updateTime")
    var updateTime: String? = null

    @SerializedName("x1Coor")
    var x1Coor = 0.0

    @SerializedName("xcoor")
    var xcoor = 0

    @SerializedName("y1Coor")
    var y1Coor = 0.0

    @SerializedName("ycoor")
    var ycoor = 0
    init {
        createTime= DateUtil.getCurData()
    }
}